package org.javaboy.boot_mybatis.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.AutoConfigurationPackage;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = "org.javaboy.boot_mybatis")
//@AutoConfigurationPackage(basePackages = "org.javaboy.boot_mybatis.mapper")
//@MapperScan(basePackages = "org.javaboy.boot_mybatis.mapper")
public class BootMybatisApplication {

    public static void main(String[] args) {
        SpringApplication.run(BootMybatisApplication.class, args);
    }

}
